<style>
    .lab label{
        width: 50px;
    }
</style>
<article class="module width_full">
    <header><h3>Mi Tarea</h3></header>
    <div class="module_content lab">
        <table border="0">
            <tr>
                <td>Tarea</td>
                <td><input type="text" value="<?php echo $this->tarea['title'] ?>" disabled="disabled" /></td>
            </tr>
            <tr>
                <td>Descripcion</td>
                <td><textarea disabled="disabled"><?php echo $this->tarea['description'] ?></textarea></td>
            </tr>

            <tr>
                <td>Fecha inicio</td>
                <td><input type="text" value="<?php echo $this->tarea['create_date'] ?>" disabled="disabled" /></td>
            </tr>

            <tr>
                <td>Fecha fin</td>
                <td><input type="text" value="<?php echo $this->tarea['end_date'] ?>" disabled="disabled" /></td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <?php if ($this->tarea['status'] == 0){ ?>
                    <a href="<?php echo $this->baseUrl() . '/tarea/index/viewtarea/id/' . $this->tarea->id . '/fin/fin' ?>">
                        <input type="button" value="Completado" />
                    </a>
                    <?php } else { ?>
                       
                    <?php } ?>
                    <a href="<?php echo $this->baseUrl() . '/tarea/index/mytask' ?>">
                        <input type="button" value="Cerrar" />
                    </a>
                </td>
            </tr>
        </table>
    </div>
</article>